package org.pada.client.exception;

import lombok.Getter;

/**
 * @author shen.peng
 * @since 2024/9/13
 */
@Getter
public enum SystemErrorCode implements ErrorCode {
    UN_DEFINE_ERR("000001", "UnDefine Sys Error"),
    UNKNOWN_SYSTEM_ERR("000002", "Unknown System Error"),
    DOMAIN_EVENT_ERR("000003", "Domain Event Process Error"),
    UNKNOWN_SERVICE("000004", "Unknown Service"),
    UNKNOWN_METHOD("000005", "Unknown Method"),
    RPC_CALL_EXCEPTION("000006", "Rpc Call Exception")
    ;
    private final String errCode;

    private final String errMsg;

    SystemErrorCode(String errCode, String errMsg) {
        this.errCode = errCode;
        this.errMsg = errMsg;
    }
}
